package lab01;

/**
 * Created by lenovo on 2017/9/29.
 */
import java.util.Scanner;
public class Test09 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个行数");
        int x = sc.nextInt();
        System.out.println(x);
        for (int i = 1; i <= x; i++) {
            for (int j = 1; j <= i; j++) {
                int z = i * j;
                System.out.print(i + "*" + j + "=" + z + "\t");
            }
            System.out.println();
        }
    }
}
